import {get,postJSON} from "@/utils/http/createHttp.js"

const apiOrder  = {
    // 获取所有订单
    getAllOrder:()=>{
        return get("/order/getAllOrder")
    },
    // 获取用户信息
    getUserInfo:(data)=>{
        return postJSON("/admin/admin/userInfo",data)
    }
}

export default apiOrder